package com.xxx.store.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxx.store.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2023-04-02
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where id = #{userId}")
     User getByIdIgnore(Integer id);

}
